﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DotNet.Random.Date
{
    /// <summary>
    /// 当前月生成器，继承了MonthRandService
    /// </summary>
    public class CurrentMonthRandService : MonthRandService
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="CurrentMonthRandService" /> class.
        /// </summary>
        public CurrentMonthRandService()
        {
            this.Serial.Clear();
            var month = System.DateTime.Now.Month;
            this.Serial.Add(month);
        }
    }
}
